projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63ac5a7
)
[IA64] Better warning fix
author
Alex Williamson
<alex.williamson@hp.com>
Tue, 3 Jul 2007 03:06:46 +0000
(21:06 -0600)
committer
Alex Williamson
<alex.williamson@hp.com>
Tue, 3 Jul 2007 03:06:46 +0000
(21:06 -0600)
This fixes it for gcc-3.x too.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/arch/ia64/xen/vcpu.c
patch
|
blob
|
history
diff --git
a/xen/arch/ia64/xen/vcpu.c
b/xen/arch/ia64/xen/vcpu.c
index badfb2eac8c00cad3aaa25469578a5152db521a8..5928ce3029c219f93842df14cdd36c64de2382ab 100644
(file)
--- a/
xen/arch/ia64/xen/vcpu.c
+++ b/
xen/arch/ia64/xen/vcpu.c
@@
-496,7
+496,7
@@
IA64FAULT vcpu_set_psr(VCPU * vcpu, u64 val)
PSCB(vcpu, interrupt_collection_enabled) = vpsr.ic;
vcpu_set_metaphysical_mode(vcpu, !(vpsr.dt && vpsr.rt && vpsr.it));
- newpsr.cpl |= max
((u64)vpsr.cpl, (u64)
CONFIG_CPL0_EMUL);
+ newpsr.cpl |= max
_t(u64, vpsr.cpl,
CONFIG_CPL0_EMUL);
if (PSCB(vcpu, banknum) != vpsr.bn) {
if (vpsr.bn)